//
//  UIColor+OneDay.swift
//  OneDay
//
//  Created by cheng xi on 16/9/6.
//  Copyright © 2016年 xicheng. All rights reserved.
//

import UIKit

extension UIColor {
  class func ondC1Color() -> UIColor {
    return UIColor(white: 177.0 / 255.0, alpha: 1.0)
  }
  
  class func ondC2Color() -> UIColor {
    return UIColor(white: 203.0 / 255.0, alpha: 1.0)
  }
  
  class func ondC3Color() -> UIColor {
    return UIColor(red: 43.0 / 255.0, green: 42.0 / 255.0, blue: 42.0 / 255.0, alpha: 1.0)
  }
  
  class func ondC4Color() -> UIColor {
    return UIColor(red: 121.0 / 255.0, green: 120.0 / 255.0, blue: 120.0 / 255.0, alpha: 1.0)
  }
  
  class func ondC5Color() -> UIColor {
    return UIColor(white: 53.0 / 255.0, alpha: 1.0)
  }
  
  class func ondC6Color() -> UIColor {
    return UIColor(red: 107.0 / 255.0, green: 106.0 / 255.0, blue: 106.0 / 255.0, alpha: 1.0)
  }
  
  class func ondC7Color() -> UIColor {
    return UIColor(white: 131.0 / 255.0, alpha: 1.0)
  }
  
  class func ondC8Color() -> UIColor {
    return UIColor(white: 97.0 / 255.0, alpha: 1.0)
  }
  
  class func ondC9Color() -> UIColor {
    return UIColor(white: 179.0 / 255.0, alpha: 1.0)
  }
  
  class func ondC10Color() -> UIColor {
    return UIColor(red: 133.0 / 255.0, green: 216.0 / 255.0, blue: 230.0 / 255.0, alpha: 1.0)
  }
  
  class func ondC11Color() -> UIColor {
    return UIColor(red: 171.0 / 255.0, green: 94.0 / 255.0, blue: 203.0 / 255.0, alpha: 1.0)
  }
  
  class func ondC12Color() -> UIColor {
    return UIColor(red: 69.0 / 255.0, green: 68.0 / 255.0, blue: 68.0 / 255.0, alpha: 1.0)
  }
  
  class func ondC13Color() -> UIColor {
    return UIColor(white: 104.0 / 255.0, alpha: 1.0)
  }
  
  class func ondC14Color() -> UIColor {
    return UIColor(white: 92.0 / 255.0, alpha: 1.0)
  }
  
  class func ondC15Color() -> UIColor {
    return UIColor(red: 172.0 / 255.0, green: 166.0 / 255.0, blue: 166.0 / 255.0, alpha: 1.0)
  }
  
  class func ondC16Color() -> UIColor {
    return UIColor(red: 9.0 / 255.0, green: 196.0 / 255.0, blue: 243.0 / 255.0, alpha: 1.0)
  }
  
  class func ondC17Color() -> UIColor {
    return UIColor(white: 164.0 / 255.0, alpha: 1.0)
  }
  
  class func ondC19Color() -> UIColor {
    return UIColor(red: 101.0 / 255.0, green: 100.0 / 255.0, blue: 100.0 / 255.0, alpha: 1.0)
  }
  
  class func ondC20Color() -> UIColor {
    return UIColor(white: 87.0 / 255.0, alpha: 1.0)
  }
  
  class func ondC21Color() -> UIColor {
    return UIColor(white: 145.0 / 255.0, alpha: 1.0)
  }
  
  class func ondC22Color() -> UIColor {
    return UIColor(white: 144.0 / 255.0, alpha: 1.0)
  }
  
  class func ondC23Color() -> UIColor {
    return UIColor(white: 223.0 / 255.0, alpha: 1.0)
  }
  
  
  class func navigationBgColor() -> UIColor {
    return UIColor(white: 248.0/255.0, alpha:1.0)
  }
  
  class func navigationLineColor() -> UIColor{
    return UIColor.init(red: 200.0/255.0, green: 199.0/255.0, blue: 204.0/255.0, alpha: 1.0)
  }
  
  class func bgColor()-> UIColor {
    return UIColor.init(red: 239.0/255.0, green: 239.0/255.0, blue: 244.0/255.0, alpha: 1.0)
  }
  class func imageBgColor()->UIColor {
    return UIColor.init(red: 224/255, green: 224/255, blue: 224/255, alpha: 1)
  }
}

// Sample text styles

//extension UIFont {
//    class func ondHeaderFont() -> UIFont {
//        if #available(iOS 8.2, *) {
//            return UIFont.systemFontOfSize(24.0, weight: UIFontWeightRegular)
//        } else {
//            // Fallback on earlier versions
//        }
//    }
//}
